package cn.psvmc.cxzapi.model.store;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 商家详情表
 * @Author auto
 * @Date 2024-08-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_store_detail")
public class TStoreDetail implements Serializable {

    @Serial
    private static final long serialVersionUID = -6101829996559604333L;
    //商家详情id
    @TableId(value = "sdid", type = IdType.AUTO)
    private Integer sdid;

    //商家id
    @TableField("storeid")
    private Integer storeid;

    //租赁范围
    @TableField("leasing_area")
    private String leasingArea;

    //运营联系人姓名
    @TableField("yy_contact_name")
    private String yyContactName;

    //运营联系人电话
    @TableField("yy_contact_phone")
    private String yyContactPhone;

    //邮箱
    @TableField("email_address")
    private String emailAddress;

    //企业名称
    @TableField("business_name")
    private String businessName;

    //企业类型
    @TableField("business_type")
    private String businessType;

    //企业收款支付宝账号
    @TableField("alipay_account")
    private String alipayAccount;

    //收款人姓名
    @TableField("payee_name")
    private String payeeName;

    //注册城市
    @TableField("registration_city")
    private String registrationCity;

    //法定代表
    @TableField("legal_representative")
    private String legalRepresentative;

    //统一社会信用代码
    @TableField("credit_code")
    private String creditCode;

    //营业执照
    @TableField("business_img")
    private String businessImg;

    //公司地址
    @TableField("company_address")
    private String companyAddress;

    //法人姓名
    @TableField("legal_person_name")
    private String legalPersonName;

    //法人联系方式
    @TableField("legal_person_contact")
    private String legalPersonContact;

    //法人身份证人像面
    @TableField("front_img")
    private String frontImg;

    //法人身份证国徽面
    @TableField("back_img")
    private String backImg;

    //法人身份证号
    @TableField("id_card")
    private String idCard;

    //实际经营地址
    @TableField("operating_address")
    private String operatingAddress;

    //门店照片
    @TableField("store_photos")
    private String storePhotos;

    //门店视频
    @TableField("store_video_url")
    private String storeVideoUrl;

    //客服电话
    @TableField("service_phone")
    private String servicePhone;

    //服务时间
    @TableField("service_time")
    private String serviceTime;

    //创建人id
    @TableField(value = "createid", fill = FieldFill.INSERT)
    private Integer createid;

    //创建时间
    @TableField(value = "createtime", fill = FieldFill.INSERT)
    private LocalDateTime createtime;

    //操作人id
    @TableField(value = "updateid", fill = FieldFill.INSERT_UPDATE)
    private Integer updateid;

    //操作时间
    @TableField(value = "updatetime", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatetime;

    //版本号
    @TableField("rversion")
    @Version
    private Integer rversion;

    //签章图片
    @TableField("store_seal")
    private String storeSeal;

    //店铺logo
    @TableField(exist = false)
    private String storelogo;

    //店铺logo取值来源
    @TableField(exist = false)
    private Integer resourceid;

    //店铺名称
    @TableField(exist = false)
    private String storename;


}
